import java.lang.String;

public class SorterTest{
	public static void main(String[] args){
		String[] B = { "John" ," Adams" , "Skrien" , "Smith", "jones"};
		Comparator stringComp = new StringComparator();
		Sorter.sort(B, stringComp);
		for(String s: B)
		{
			System.out.println(s);
		}
		Integer[] C = {new Integer(3), new Integer(1), new Integer(4), new Integer(2) };
		Comparator integerComp = new IntegerComparator();
		Sorter.sort(C, integerComp);
		for(Integer i: C)
		{
			System.out.println(i);
		}
	}
}
